﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Chapter09.Code02.Code03.Example02
{
    public class Demo
    {
        public static void Begin()
        {
            ClassA myObject = new ClassA();
            Console.WriteLine("myObejct.State ={0}", myObject.State);
            ClassA.ClassB myOtherObject = new ClassA.ClassB();
            myOtherObject.SetPrivateState(myObject, 999);
            Console.ReadLine();
        }
    }
}
